//
//  SecondModel.m
//  Cook
//
//  Created by 0.0 on 15-4-16.
//  Copyright (c) 2015年 dingjun. All rights reserved.
//

#import "SecondModel.h"

@implementation SecondModel

- (void)dealloc
{
    [_diseaseId release];
    [_diseaseName release];
    [_diseaseDescribe release];
    [_fitEat release];
    [_lifeSuit release];
    [_imageName release];
    
    [super dealloc];
}

- (instancetype)init
{
    self = [self initWithDiseaseId:nil diseaseName:nil diseaseDescribe:nil fitEat:nil lifeSuit:nil imgeName:nil];
    
    return self;
}

- (instancetype)initWithDiseaseId:(NSString *)diseaseId diseaseName:(NSString *)diseaseName diseaseDescribe:(NSString *)diseaseDescribe fitEat:(NSString *)fitEat lifeSuit:(NSString *)lifeSuit imgeName:(NSString *)imageName
{
    self = [super init];
    
    if (self) {
        self.diseaseId = diseaseId;
        self.diseaseName = diseaseName;
        self.diseaseDescribe = diseaseDescribe;
        self.fitEat = fitEat;
        self.lifeSuit = lifeSuit;
        self.imageName = imageName;
    }
    
    return self;
}

+ (SecondModel *)secondModelWithDiseaseId:(NSString *)diseaseId diseaseName:(NSString *)diseaseName diseaseDescribe:(NSString *)diseaseDescribe fitEat:(NSString *)fitEat lifeSuit:(NSString *)lifeSuit imgeName:(NSString *)imageName
{
    SecondModel *second = [[SecondModel alloc] initWithDiseaseId:diseaseId diseaseName:diseaseName diseaseDescribe:diseaseDescribe fitEat:fitEat lifeSuit:lifeSuit imgeName:imageName];
    
    return [second autorelease];
}

@end
